* timer.c (notify): Don't call sighold or sigrelse; they're USG
authorJim Blandy <jimb@redhat.com>
Sun, 16 May 1993 00:53:57 +0000 (00:53 +0000)
committerJim Blandy <jimb@redhat.com>
Sun, 16 May 1993 00:53:57 +0000 (00:53 +0000)
only.  We should really fix this later, but let's just make it
compile for now.

lib-src/timer.c

index 2fa220e48a689e71aafcae5f2d2eb2bd3e66ab66..7a4ee3c571b247bc67528382760819e7abaeacc9 100644 (file)
@@ -127,7 +127,7 @@ notify ()
   /* If an alarm timer runs out while this function is executing,
      it could get called recursively.  This would be bad, because
      it's not re-entrant.  So we must try to suspend the signal. */
-#ifdef sigmask
+#if 0   /* This function isn't right for BSD.  Fix it later.  */
   sighold(SIGIO);
 #endif
 
@@ -162,7 +162,7 @@ notify ()
   if (num_events > 0)
     alarm (waitfor);
 
-#ifdef sigmask
+#if 0  /* This function isn't right for BSD.  */
   sigrelse(SIGIO);
 #endif
 }